package com.hyt.it.ogt.ks.enums;

import lombok.Getter;

/**
 * @author wuyingge
 * @version 1.0.0
 * @ClassName PaperItemAttrTypeCode.java
 * @Description 题型相关属性值字段
 * @createTime 2022年07月25日 17:29:00
 */
public class PaperItemAttrTypeCode {

    //简答
    @Getter
    public enum WEIGHT{

        WEIGHT_TIP_CONTENT("WEIGHT_TIP_CONTENT","权重题提示语");
        private String code;
        private String msg;

        WEIGHT(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

    //简答
    @Getter
    public enum SHORTANSWER{

        SHORTANS_OPEN_MATH_EDITOR("SHORTANS_OPEN_MATH_EDITOR","简答题开启数学公式编辑器");
        private String code;
        private String msg;

        SHORTANSWER(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

    //填空题
    @Getter
    public enum FILLINBLANKS{

        ANSWER_AUTO_SCORE("ANSWER_AUTO_SCORE","按答案自动判分"),

        OUT_OF_ORDER("OUT_OF_ORDER","允许考生答案与参考答案顺序不一致"),

        IGNORE_CASE("IGNORE_CASE","忽略大小写"),

        BLANK_OPEN_MATH_EDITOR("BLANK_OPEN_MATH_EDITOR","填空题开启数学公式编辑器");
        private String code;
        private String msg;

        FILLINBLANKS(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

    //匹配题
    @Getter
    public enum MATCHING{

        MATCH_QUESTION_NAME("MATCH_QUESTION_NAME","'问题'名称"),

        MATCH_QUESTION_CONTENT("MATCH_QUESTION_CONTENT","问题数据列"),

        MATCH_OPTION_NAME("MATCH_OPTION_NAME","'选项'名称");
        private String code;
        private String msg;

        MATCHING(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

    //不定项选择题
    @Getter
    public enum INDEFINITE{

        ALL_CORRECT_SCORES("ALL_CORRECT_SCORES","全部答对得分"),

        OPTION_CUSTOM_SCORES("OPTION_CUSTOM_SCORES","选项自定义分数"),

        LESS_FIXED_STATUS("LESS_FIXED_STATUS","少选得固定分状态"),

        LESS_FIXED_SCORES("LESS_FIXED_SCORES","少选得固定分分值"),

        LESS_SUM_SCORES("LESS_SUM_SCORES","少选得分累加"),

        OPTION_CORRECT_SCORES("OPTION_CORRECT_SCORES","不定项选择题"),

        SUM_MAX_SCORES("SUM_MAX_SCORES","累加最高得分");
        private String code;
        private String msg;

        INDEFINITE(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }
}
